package com.dhc.appbusinessfrm.business.base;

import com.dhc.appbusinessfrm.model.ResultModel;

import java.util.concurrent.Future;

/**
 * Created by xy on 2015/6/15.
 */
public interface BusinessCallback {
    /**
     * 通信成功
     */
    public void netSuccess(ResultModel resultModel);

    /**
     * 通信失败
     * @param errorId
     */
    public void netFailure(int errorId);

}
